package com.cyx.mapper;

import com.cyx.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int addUser(User user);
    User getUserById(int userId);
    List<User> getUserList(@Param("userName") String userName,
                           @Param("address") String address);
    int updateUser(User user);
}
